#ifndef MOTORDUMMY_H
#define MOTORDUMMY_H

#include "device_base/motor_base.h"

class MotorDummy : public MotorBase
{
    Q_OBJECT
public:
    MotorDummy(MotorBase * parent = nullptr);
    void moveAbsolute(const double &a);
    void moveRelative(const double &a);
    void position();
    void motorQuit();
    void set_Motor_azAngleStep(const double &s);
    void prepare(const SOFTWARESETTINGS mysetting);
    void motorTest(const SOFTWARESETTINGS mysetting);
    void motorTry(const double tryAngle);
private:
    double motor_posi_fake;
    int motor_count=0;
    qint64 lastbreaktime;
    void mySleep(unsigned int msec);
};

#endif // MOTORDUMMY_H
